package cn.iocoder.yudao.module.product.controller.admin.packaging.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 商品包装物新增/修改 Request VO")
@Data
public class PackagingSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1713")
    private Integer id;

    @Schema(description = "商品sku_id", example = "7063")
    private Long skuId;
    @Schema(description = "商品spu_id", example = "7063")
    private Long spuId;
    @Schema(description = "商品picUrl", example = "uu")
    private String picUrl;

    @Schema(description = "spu名称", example = "王五")
    @NotNull(message = "包装物名称不能为空")
    private String spuName;

    @Schema(description = "规格id", example = "9855")
    private Long cylinderId;

    @Schema(description = "状态：0正常1待修2待检3折旧4报废（可多选用 ，分割）", example = "1")
    private String status;

    @Schema(description = "是否收租金0 是1否")
    private Integer isRent;

    @Schema(description = "租金收取周期 0月1季度2半年3年")
    private Integer rentCycle;

    @Schema(description = "租金单价基准值")
    private BigDecimal rentReferencePr;

    @Schema(description = "租金单价上限值")
    private BigDecimal rentUpperPr;

    @Schema(description = "租金单价下限值")
    private BigDecimal rentLowerPr;

    @Schema(description = "押金单价基准值")
    private BigDecimal depositReferencePr;

    @Schema(description = "押金单价基准值")
    private BigDecimal depositUpperPr;

    @Schema(description = "押金单价基准值")
    private BigDecimal depositLowerPr;

    @Schema(description = "更新人")
    private String updater;
    @Schema(description = "规格名称")
    private String cylinderName;

}